package com.mzpai.product.model;

import java.math.BigDecimal;
import java.util.Date;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="单单反抵扣金明细表")
public class SystemStoreDdfBill extends BaseModel{
	
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value="自增ID")
    private Long id;
	@ApiModelProperty(value="单单返配置ID")
    private Integer ddfConfigId;
	@ApiModelProperty(value="发放详情ID")
    private Integer ddfAwardId;
	@ApiModelProperty(value="规则类型")
    private Integer goodsType;
	@ApiModelProperty(value="商家ID")
    private Integer storeId;
	@ApiModelProperty(value="用户ID")
    private Integer uid;
	@ApiModelProperty(value="订单ID")
    private String orderId;
	@ApiModelProperty(value="发放总金额")
    private BigDecimal totalAmount;
	@ApiModelProperty(value="已使用总金额")
    private BigDecimal usedAmount;
	@ApiModelProperty(value="余额")
    private BigDecimal balance;
	@ApiModelProperty(value="有效期开始")
    private Date effectTimeStart;
	@ApiModelProperty(value="有效期截止")
    private Date effectTimeEnd;
	@ApiModelProperty(value="发送时间")
    private Date sendTime;
	@ApiModelProperty(value="状态:1有效 -1无效")
    private Byte status;
	@ApiModelProperty(value="添加时间")
    private Integer addTime;
	@ApiModelProperty(value="最后修改时间")
    private Date modifyTime;
    
    

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDdfConfigId() {
        return ddfConfigId;
    }

    public void setDdfConfigId(Integer ddfConfigId) {
        this.ddfConfigId = ddfConfigId;
    }

    public Integer getDdfAwardId() {
        return ddfAwardId;
    }

    public void setDdfAwardId(Integer ddfAwardId) {
        this.ddfAwardId = ddfAwardId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getUsedAmount() {
        return usedAmount;
    }

    public void setUsedAmount(BigDecimal usedAmount) {
        this.usedAmount = usedAmount;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Date getEffectTimeStart() {
        return effectTimeStart;
    }

    public void setEffectTimeStart(Date effectTimeStart) {
        this.effectTimeStart = effectTimeStart;
    }

    public Date getEffectTimeEnd() {
        return effectTimeEnd;
    }

    public void setEffectTimeEnd(Date effectTimeEnd) {
        this.effectTimeEnd = effectTimeEnd;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getAddTime() {
        return addTime;
    }

    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

	public Integer getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(Integer goodsType) {
		this.goodsType = goodsType;
	}
    
    
}